<h1>Account Registration</h1>
<p>Please complete the following details below to register a new account for movie manager.</p>
<p>An email will be sent to confirm the existance of your email address once the form has correctly been completed.</p>

<form method="post" action="index.php" id="frm_register">
<input type="hidden" name="what" value="login" />
<input type="hidden" name="do" value="process_register" />
<input type="hidden" name="cc" value="{$content.cc}" />
<table class="data_table">
	<tr><th colspan="2">Registration</th></tr>
	<tr>
		<td width="25%"><strong>Username</strong><br /></td>
		<td>
			<input id="username" type="text" name="username" value="{$content.username}" size="40" maxlength="20" />
			<input type="button" value="Check username" onclick="check_username();" />
			<div id="username_status">Username Status here</div>
		</td>
	</tr>
	<tr>
		<td><strong>E-mail Address</strong><br /></td>
		<td><input type="text" name="email" value="{$content.email}" size="40" maxlength="255" /></td>
	</tr>
	<tr>
		<td><strong>Password</strong><br /></td>
		<td><input type="password" name="password" value="" size="15" maxlength="20" /></td>
	</tr>
	<tr>
		<td><strong>Confirm Password</strong><br /></td>
		<td><input type="password" name="confirm_password" value="" size="15" maxlength="20" /></td>
	</tr>
	<tr>
		<th colspan="2">Other Details</th>
	</tr>
	<tr>
		<td><strong>Member Refrence</strong><br />Were you refered by another member? Enter their username/email address in this field.</td>
		<td><input type="text" name="reference" value="{$content.reference}" size="40" maxlength="255" /></td>
	</tr>
</table>
<input type="submit" value="Submit Registration &raquo;" />
</form>